﻿namespace O.M.Production.ErrorCodeEnum
{
    /// <summary>
    /// 统一返回格式
    /// </summary>
    public class ApiResult
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public int? Code {  get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public string? Message { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public object? Data { get; set; }
        /// <summary>
        /// 集合
        /// </summary>
        public List<object>? ListData { get; set; }
        /// <summary>
        /// 密文
        /// </summary>
        public string? Token {  get; set; }
        /// <summary>
        /// 总数据
        /// </summary>
        public int? totalCount {  get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int? pageCount {  get; set; }
    }
}
